home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Sample Code / AOCE Sample Code / PowerTalk Access Modules / Sample SMSAM / SampleSMSAM Source / HFSHalfGateway / Strings.h < prev   
Encoding:
C/C++ Source or Header  |  1995-07-28  |  685 b   |  40 lines  |  [TEXT/KAHL]

  1. /*
  2.     File:        Strings.h
  3.  
  4.     Copyright:    © 1991-1994 by Apple Computer, Inc.
  5.                 All rights reserved.
  6.  
  7.     Part of the AOCE Sample SMSAM Package.  Consult the license
  8.     which came with this software for your specific legal rights.
  9.  
  10. */
  11.  
  12.  
  13.  
  14. #pragma once
  15.  
  16. #ifndef __STRINGS__
  17. #define __STRINGS__
  18.  
  19. #ifndef __TYPES__
  20. #include <Types.h>
  21. /*    #include <ConditionalMacros.h>                                */
  22. /*    #include <MixedMode.h>                                        */
  23. /*        #include <Traps.h>                                        */
  24. #endif
  25.  
  26. #ifdef __cplusplus
  27. extern "C" {
  28. #endif
  29.  
  30. extern StringPtr c2pstr(char *aStr);
  31. extern pascal StringPtr C2PStr(Ptr cString);
  32. extern char *p2cstr(StringPtr aStr);
  33. extern pascal Ptr P2CStr(StringPtr pString);
  34. #ifdef __cplusplus
  35. }
  36. #endif
  37.  
  38. #endif
  39.  
  40.